package com.github.authcloud.client.configure;

import com.github.authcloud.common.Logical;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author : zhaoxuan
 * @date : 2021/8/16 14:16
 * @description : RequiresRoles
 * @version: 1.0
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface RequiresRoles {
    String[] value();

    Logical logical() default Logical.AND;
}